
public class MyS {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String s1="This rahamathalisk@gmail";
		String s2="This rahamathali";
		if(s1.equals(s2))
			System.out.println("both r equals");
			else 
				System.out.println("both are not equals");
		char a=s1.charAt(2);
		System.out.println(a);
		if(s1.endsWith("ali"))
			System.out.println("start ed");
		else
			System.out.println("not started");
		
		System.out.println(s1.concat(s2));
		String s4=s1.substring(9);
		System.out.println(s4);
		}

	}
